package com.usian.user.controller;

import com.usian.api.admin.ApUserRealnameControllerApi;
import com.usian.model.common.dtos.PageResponseResult;
import com.usian.model.common.dtos.ResponseResult;
import com.usian.model.user.dtos.AuthDto;
import com.usian.user.service.ApUserRealnameService;
import com.usian.user.service.impl.ApUserRealnameServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/api/v1/auth")
public class ApUserRealnameController implements ApUserRealnameControllerApi {

    @Autowired
    private ApUserRealnameService userRealnameService;

    @PostMapping("/list")
    public ResponseResult loadListByStatus(@RequestBody AuthDto dto){
        return userRealnameService.loadListByStatus(dto);
    }

    @Override
    public ResponseResult authPass(AuthDto dto) {
        return null;
    }

    @Override
    public ResponseResult authFail(AuthDto dto) {
        return null;
    }


}
